package DBConfige;

import org.hibernate.cfg.ImprovedNamingStrategy;

public class MPSNamingStrategy extends ImprovedNamingStrategy {

/**
*
*/
private static final long serialVersionUID = 1L;

@Override
public String columnName(String columnName) {

return addUnderscores(columnName).toUpperCase();
}

@Override
public String tableName(String tableName) {

return addUnderscores(tableName).toUpperCase();
}

@Override
public String propertyToColumnName(String propertyName) {

return addUnderscores(propertyName).toUpperCase();
}



}



